<?php
namespace api\user\model;

use api\common\model\CommonModel;

class SignModel extends CommonModel
{
    public function checkSign($user_id){
        $where['createtime'] = date("Y-m-d");
        $where['user_id'] = $user_id;
        $count = $this->where($where)->count();
        if($count>0){
            return false;
        }else{
            return true;
        }
    }
}
